package com.pearadmin.pro.modules.policy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pearadmin.pro.common.web.base.page.PageResponse;
import java.util.List;

import com.pearadmin.pro.modules.policy.domain.ScrmStuPrePolicy;

import com.pearadmin.pro.modules.policy.param.ScrmStuPrePolicyRequest;

/**
 * 签单优惠政策Service接口
 * @author chenJian
 * @date 2021-10-07
 */
public interface ScrmStuPrePolicyService extends IService<ScrmStuPrePolicy>
{
    /**
    * 获取查询签单优惠政策列表 (分页)
     *
     * @param request 参数实体
    *
    * @return {@link ScrmStuPrePolicy}
    * */
    PageResponse< ScrmStuPrePolicy> page(ScrmStuPrePolicyRequest request);

    /**
     * 获取查询学校信息列表 (分页)
     *
     * @param request 参数实体
     *
     * @return {@link School}
     * */
    boolean saveOrUpdate(ScrmStuPrePolicy request);

    /**
     * 查询签单优惠政策
     *
     * @param id 签单优惠政策ID
     * @return 签单优惠政策
     */
     ScrmStuPrePolicy selectScrmStuPrePolicyById(Long id);

}
